package com.zhiliao.facade.demo1;

/**
 * 作者： zhi-liao
 * 类的作用:
 * 类的创建时间： 2021/5/23 17:52
 */
public class Client {
    public static void main(String[] args) {
        ServiceA sa = new ServiceAImpl();
        ServiceB sb = new ServiceBImpl();

        sa.methodA();
        sb.methodB();

        System.out.println("===============");

        Facade facade = new Facade();
        facade.methodA();
        facade.methodB();
    }
}
